package com.yixun.qfbao.service;

import com.yixun.qfbao.model.PartnerInfo;

import java.io.InputStream;
import java.util.Map;


/**
 * 批量导入
 * 
 * @author jzliu
 */
public interface UploadExcelService {

	/**
	 * 批量导入
	 */
	Map<String,String> uploadExcel(Long parentId, PartnerInfo currentUser, InputStream file, String fileType);
	
	/**
	 * 批量导入员工
	 */
	Map<String,String> uploadExcelUser(Long userId, InputStream file, String fileType);

	/**
	 * 批量导入合作机构
	 * @param userId
	 * @param domain
     *@param inputStream
     * @param fileName   @return
	 */
	Map<String,String> uploadCooOrgExcel(Long userId, String domain, InputStream inputStream, String fileName) throws Exception;


	Map<String,String> uploadExcelPremise(String companyUuid,Long userId, InputStream file, String fileType);

	Map<String,String> uploadExcelPremiseHouseType(String companyUuid, InputStream file, String fileType);

	Map<String,String> uploadExcelPremiseDynamic(String companyUuid, InputStream file, String fileType);

	Map<String,String> uploadExcelPremiseImage(String companyUuid, InputStream file, String fileType);

	Map<String,String> uploadExcelPremiseCommission(String companyUuid, InputStream file, String fileType);
}
